//
//  BaseStockChildListController.h
//  Stock
//
//  Created by blacksun on 11-6-24.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "StockNewsService.h"
#import "MacroDefine.h"
#import "StockNews.h"
#import "StockAppHelper.h"
#import "ReadStatus.h"
#import "StockNewsDetailController.h"
#import "StockAppDelegate.h"

#define kStockNewsTitleTag      12345
#define kStockNewsPubdateTag    12456
#define kStockNewsSourceTag     12567
#define kStockNewsUnreadTag     12678

@interface BaseStockChildListController : UITableViewController<ServiceDelegate> {
    NSMutableArray *stockNewses;
    NSString *sectionId;
    int sectionIndex;
    int currentIndex;
    NSMutableArray *readStatus;
    StockNewsService *service;
    //UITableView *tableView;
}

@property(nonatomic, retain) NSMutableArray *stockNewses;
@property(nonatomic, retain) NSString *sectionId;
@property(nonatomic, assign) int sectionIndex;
@property(nonatomic, retain) NSMutableArray *readStatus;
@property(nonatomic, retain) StockNewsService *service;
//@property(nonatomic, retain) IBOutlet UITableView *tableView;
-(void)queryStocknewses;
@end
